package com.xiong.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author wardseptember
 * @create 2020-03-31 16:41
 */
@Component
public class PaymentFallbackHystrixService implements PaymentHystrixService{

    @Override
    public String paymentInfoOk(Integer id) {
        return "paymentInfoOk fallback";
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "paymentInfoTimeout fallback";
    }
}
